import type { Page } from './commonTypes'
export type GetUserManageListRes = {
  dataList: Array<UserManageListItem>
  page: Page
}
export type UserManageListItem = {
  avatar: string
  consumeCounts: number
  createTime: string
  id: number
  inviteName: string
  inviteTime: string
  lastConsumeAmount: number
  lastConsumeTime: string
  mobile: string
  nickname: string
  point: number
  totalPoint: number
  /**
   * 用户状态
   * - `0` 激活
   * - `1` 冻结
   */
  status: 0 | 1
}

export type getScoreDetailRes = {
  dataList: Array<getScoreDetailResItem>
  page: Page
}
export type getScoreDetailResItem = {
  operator: string
  point: number
  reason: string
  sendTime: string
  type: number
  updateUser: number
}
export type GetBmUserRes = Array<{
  phone: string
  userId: number
}>
